<admintpl file="header" />
</head>
<body>
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
     		<li><a href="{:U('Analysis/index')}">数据汇总</a></li>
     		<li><a href="{:U('Analysis/day')}">单日统计</a></li>
            <li><a href="{:U('Analysis/activity')}">活动统计</a></li>
            <li><a href="{:U('Analysis/materials')}">物料统计</a></li>
            <li><a href="{:U('Analysis/equipment')}">设备统计</a></li>
            <li><a href="{:U('Analysis/users')}">用户统计</a></li>
            <li><a href="{:U('Analysis/winning')}">中奖记录</a></li>
            <li><a href="{:U('Analysis/withdraw')}">提现记录</a></li>
            <li><a href="{:U('Analysis/logs')}">摇摇记录</a></li>
            <li class="active"><a href="{:U('Analysis/urls')}">链接记录</a></li>
        </ul>
        <form class="well form-search js-ajax-form" method="post" action="{:U('Analysis/urls')}">
            <input type="text" name="time" class="js-date" value="{:I('param.time')}" autocomplete="off">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <if condition="$count" >共查询到 {$count} 条数据</if>
        </form>
            <table class="table table-hover table-bordered">
                <thead>
                    <tr>
                    	<th>摇时间</th>
                    	<th>用户ID</th>
                        <th>活动ID</th>
                        <th>活动类型</th>
                        <th>物料ID</th>
                        <th>物料类型</th>
                    </tr>
                </thead>
                <foreach name="analysis" item="vo">
                    <tr>
                        <td>{$vo.datetime}</td>
                        <td>{$vo.openid}</td>
                        <td>{$vo.eid}</td>
                        <td>{$vo.etype}</td>
                        <td>{$vo.cid}</td>
                        <td>{$vo.ctype}</td>
                    </tr>
                </foreach>
                <thead>
                    <tr>
                    	<th>摇时间</th>
                    	<th>用户ID</th>
                        <th>活动ID</th>
                        <th>活动类型</th>
                        <th>物料ID</th>
                        <th>物料类型</th>
                    </tr>
                </thead>
            </table>
            <div class="pagination">{$page}</div>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
</body>
</html>